package com.mmg.spzx.manager;

import com.mmg.spzx.common.log.annotation.EnableLogAspect;
import com.mmg.spzx.manager.properties.MinioProperties;
import com.mmg.spzx.manager.properties.UserProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableLogAspect // 开启日志切面
@EnableScheduling // 开启定时任务
@EnableConfigurationProperties({UserProperties.class, MinioProperties.class})
@ComponentScan(basePackages = {"com.mmg.spzx"})
@SpringBootApplication
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}
